package com.itheima.day11_TeShu;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;
import java.util.Set;

public class Test1 {
    public static void main(String[] args) throws IOException {
        Properties pro = new Properties();
        pro.setProperty("brand","Iphone11Pro Max");
        pro.setProperty("capacity","256G");
        pro.setProperty("price","10899");
        pro.store(new FileWriter("honework.properties"),"phone");


    }
}
